<script>
export default {
    onLaunch: function () {
        // uni.hideTabBar({
        //     animation: false
        // })
        // console.log('App Launch')
    },
    onShow: function () {
        console.log('App Show')
    },
    onHide: function () {
        console.log('App Hide')
    },
}
</script>

<style lang="scss">
@import "uview-plus/index.scss";

/*每个页面公共css */
page {
    height: 100%;
		letter-spacing: 2rpx;
}

/**app.wxss**/
@for $i from 1 through 200 {
    .mr-t-#{$i} {
        margin-top: $i + rpx;
    }

    .mr-b-#{$i} {
        margin-bottom: $i + rpx;
    }

    .mr-l-#{$i} {
        margin-left: $i + rpx;
    }

    .mr-r-#{$i} {
        margin-right: $i + rpx;
    }

    .mr-h-#{$i} {
        margin-top: $i + rpx;
        margin-bottom: $i + rpx;
    }

    .mr-v-#{$i} {
        margin-left: $i + rpx;
        margin-right: $i + rpx;
    }

    .pd-t-#{$i} {
        padding-top: $i + rpx;
    }

    .pd-b-#{$i} {
        padding-bottom: $i + rpx;
    }

    .pd-l-#{$i} {
        padding-left: $i + rpx;
    }

    .pd-r-#{$i} {
        padding-right: $i + rpx;
    }

    .pd-h-#{$i} {
        padding-top: $i + rpx;
        padding-bottom: $i + rpx;
    }

    .pd-v-#{$i} {
        padding-left: $i + rpx;
        padding-right: $i + rpx;
    }

    .font#{$i} {
        font-size: $i + rpx;
    }

    .lh-#{$i} {
        line-height: $i + rpx;
    }

    .border#{$i} {
        border-radius: $i + rpx;
    }

    .zIndex#{$i} {
        z-index: $i;

    }
}

.txt-center {
    text-align: center;
}

.txt-left {
    text-align: left;
}

.txt-right {
    text-align: right;
}

.txt-justify {
    text-align: justify;
}

.flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.flex-start {
    align-items: flex-start;
}
.flex-center {
    align-items: center;
}

.flex-j-center {
    justify-content: center;
}

.flex-end {
    align-items: flex-end;
}

.flex-j-end {
    justify-content: flex-end;
}

.flex-j-around {
    justify-content: space-around;
}

.flex-j-between {
    justify-content: space-between;
}

.flex-ver {
    flex-direction: column;
}

.line3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.flex-shrink {
    flex-shrink: 0;
}

.overflow-h {
    overflow: hidden;
}

.word-break {
    word-break: break-all;
}

.line1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.nowrap {
    white-space: nowrap;
}

.w30 {
    width: 30%;
}

.flex-wrap {
    flex-wrap: wrap;
}

.bold {
    font-weight: bold;
}

.cursor-p {
    cursor: pointer;
}

.flex-ver {
    flex-direction: column;
}

.full-w {
    width: 100%;
}

.full-h {
    height: 100%;
}

.full-wh {
    width: 100%;
    height: 100%;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.position-a {
    position: absolute;
}

.position-r {
    position: relative;
}

.position-f {
    position: fixed;
}

.left0 {
    left: 0;
}

.top0 {
  top:0;
}

.break-all {
    word-break: break-all;
}

.border-default {
    border: 1px solid #ccc;
}

.border-main {
    border: 1px solid #35BE65;
}

.border-no {
    border: 0;
}

.box {
    box-sizing: border-box;
}

.bg-gray-light {
    background-color: #f9f9f9;
}

.color-default {
    color: #333;
}

.color-info {
    color: #666;
}

.color-note {
    color: #999;
}

.color-white {
    color: #fff;
}

.color-main {
    color:#35BE65;
}

.color-shop {
    color:#99472B;
}

.color-red {
    color:#FF7D64;
}

.color-yellow {
  color:#FFDC87;
}

.color-orange {
    color:#FF7D64
}

.bg-main {
    background-color: #35BE65;
}

.bg-white {
    background-color: #fff;
}

.bg-default {
    background-color: #f0f0f0;
}

.bg-info {
    background-color: #666;
}

.bg-note {
    background-color: #999;
}

.middle {
    vertical-align: middle;
}

.shadow {
    box-shadow: 2rpx 2rpx 10rpx rgba(0, 0, 0, 0.3);
}
</style>
